﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Common;
using Common.Views;
using System.Web.Mvc;

namespace ElectrosLtd.Models
{
    public class UpdateFaultDetailsModel
    {
        public Fault fault { get; set; }
        public FaultDetailsView FDV { get; set; }        
        public SelectList FaultStatusList { get; set; }
        public int NewFaultID { get; set; }

        public UpdateFaultDetailsModel()
        {
            FaultStatusList = new SelectList(new ProductsServ.WCFProductsClient().GetFaultStatus(), "ID", "Status");
        }
    }
}